//
//  SocketAnyEvent.m
//  Socket.IO-Client
//
//  Created by alanwang.dev on 16/8/8.
//  Copyright © 2016年 com.alanwang.dev. All rights reserved.
//

#import "SocketAnyEvent.h"

@implementation SocketAnyEvent

- (NSString *)description{
    NSString *desc = [NSString stringWithFormat:@"SocketAnyEvent: Event: %@ items: %@",_event,_items];
    return desc;
}

- (instancetype)initWith:(NSString *)event items:(NSArray *)items{
    if (self = [super init]) {
        self.event = event;
        self.items = [NSMutableArray arrayWithArray:items];
    }
    return self;
}

@end
